<?php
$catid = JRequest::getVar('catid'); 
if($catid)
{
	$url = JRoute::_(ContentHelperRoute::getCategoryRoute($this->article->catslug, $this->article->sectionid).'&layout=vita'); 
}
else
{
	$url = JURI::base();
}
if(JRequest::getVar('vita'))
{
	$app = JFactory::getApplication();
	$templateDir = JURI::base() . 'templates/' . $app->getTemplate();
	$url = JRoute::_('index.php?option=com_content&view=article&id=47&Itemid=54');
?>
<link rel="stylesheet" type="text/css" href="<?php echo $templateDir; ?>/css/vita_subpages.css" media="screen" />
<?php
} 
?>
<div class="content">
	<div class="innerContent"> 
    	<h2><span><span><?php echo $this->article->title;?></span></span></h2>
        <div class="fckDefault">
        	<a href="<?php echo $url; ?>" title="<?php echo JText::_('RETURN HOME');?>" class="lnkReturn"><img src="<?php echo JURI::base(); ?>/images/vita/dummy.gif" alt="Return to Vita" class="uiIcon initIcon-09"/><span><?php echo JText::_('RETURN HOME');?></span></a> 
            <?php echo $this->article->text; ?>
        </div>
    </div>
</div>